﻿using System;
using System.Collections.Generic;
using System.Text;
using Workflow.Entity;
using Workflow.Interface;
using System.Collections;
using MyLib;

namespace Workflow.Logic
{
    public class MockCategoryLogic :IProcessCategory
    {
        public List<ProcessCategoryEntity> GetList()
        {
            List<ProcessCategoryEntity> lists = new List<ProcessCategoryEntity>();
            ProcessCategoryEntity ety = new ProcessCategoryEntity();
            //ety.CategoryName = "全部";
            //lists.Add(ety);
            ety = new ProcessCategoryEntity();
            ety.CATEGORYNAME = "采购流程";
            lists.Add(ety);
            ety = new ProcessCategoryEntity();
            ety.CATEGORYNAME = "E-Claim";
            lists.Add(ety);
            ety = new ProcessCategoryEntity();
            ety.CATEGORYNAME = "HR";
            lists.Add(ety);
            return lists;
        }

        public List<ProcessEntity> GetProcessList(string categoryName)
        {
            return new List<ProcessEntity>();
        }
    }
}
